﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyNet.Componets.Core.Locations.Baidu
{
    public class BaiduLocationPoint
    {
        public double x { get; set; }
        public double y { get; set; }

        public LocationPoint ConvertToLocation()
        {
            return new LocationPoint()
            {
                lng = x,
                lat = y
            };
        }
    }
}
